<%@ page language="java" contentType="text/html; charset=ISO-8859-1"    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title><spring:message code="html.head.title"/></title>
</head>
<body>

<hr/>
	<spring:message code="index.title"/>
<hr/>
<table>
	<tr>
		<td>
			<h5>simpleRequestMapping with GET</h5>
			<form action="request" method="GET">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>simpleRequestMapping with POST</h5>
			<form action="request" method="POST">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>

	<tr>
		<td>
			<h5>requestMappingWithPathVariable</h5>
			<form action="request/1/2" method="GET">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>requestMappingWithRequestParam</h5>
			<form action="requestWithParam" method="GET">
				<input type="text" name="reqPar">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>WithAdvancedParams</h5>
			<form action="requestWithAdvancedParams" method="POST">
				<input type="text" name="reqPar1">
				<input type="text" name="reqPar2">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>Simple redirect</h5>
			<form action="simpleRedirect" method="GET">
				<input type="text" name="reqPar">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>Simple forward</h5>
			<form action="simpleForward" method="GET">
				<input type="text" name="reqPar">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>Simple Model request</h5>
			<form action="simpleModelRequest" method="GET">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>View Resolver Custom</h5>
			<form action="customViewResolverRequest" method="GET">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>
	<tr>
		<td>
			<h5>View Resolver Basato su file di properties</h5>
			<form action="resourceBundleViewResolverRequest" method="GET">
				<input type="submit" value="test">
			</form>		
		</td>
	</tr>
	<tr>
		<td>
			<h5>View Resolver Basato su file di properties</h5>
			<form action="personaFormRequest" method="GET">
				<input type="submit" value="goto_form">
			</form>	
		</td>
	</tr>
	<tr>
		<td>
			<h5>genera Eccezione gestita</h5>
			<form action="generateException" method="GET">
				<input type="submit" value="test">
			</form>
		</td>
	</tr>	
	
</table>

</body>
</html>